package com.ibigcat.module.mdm.controller.admin.commoditygroup.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 组套商品管理新增/修改 Request VO")
@Data
public class CommodityGroupSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "381")
    private Long id;

    @Schema(description = "组套商品编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "组套商品编码不能为空")
    private String groupCode;

    @Schema(description = "组套商品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "组套商品名称不能为空")
    private String groupName;

    @Schema(description = "客户编码")
    private String customerCode;

    @Schema(description = "组套商品来源")
    private String source;

    @Schema(description = "包含商品数", example = "18171")
    private Integer commodityCount;

    @Schema(description = "子商品总数")
    private Long allQuantity;

    @Schema(description = "商品说明", example = "你说的对")
    private String remark;

    @Schema(description = "启停状态")
    private Boolean disabled;

}